package com.zero.service.provider.web.controller;


import com.zero.service.provider.web.domain.User;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 服务提供方
 */
@RestController
public class ServiceProviderController {

    @PostMapping("/greeting")
    public String greeting(@RequestBody User user){
        return "greeting ," + user;
    }
}
